package fonkin.com.wifisignapp.bean.tissue;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import fonkin.com.wifisignapp.bean.user.User;


/**
 * 部门信息类
 * @author hhj
 * @date 2018-02-08 14:10:00
 */
public class Department implements Serializable{
    
    /**
     * 部门id
     */
    private String id;
    
    
    /**
     * 部门负责人ID
     */
    private String userId;
    
    /**
     * 负责人姓名
     */
    private String userName;
    
    /**
     * 部门名称
     */
    private String deptName;
    
    /**
     * 部门所在房间Id
     */
    private String roomId;
    
    /**
     * 所属楼ID
     */
    private String buildingId;
    
    /**
     * 临时字段
     */
    private String userTel;
    private String roomName;
    private String buildingName;
    
    //生成树所必要的节点名
    private String name;
    //生成树所必须的节点名
    private List<Job> children;

    private List<User> childrenUser;

    public List<User> getChildrenUser() {
        return childrenUser;
    }

    public void setChildrenUser(List<User> childrenUser) {
        this.childrenUser = childrenUser;
    }
    /* //临时变量-s
    private String startTime; 
    private String endTime;
    //临时变量-e
    
    public String getStartTime() {
    	return startTime;
    }
    
    public void setStartTime(String startTime) {
    	this.startTime = startTime;
    }
    
    public String getEndTime() {
    	return endTime;
    }
    
    public void setEndTime(String endTime) {
    	this.endTime = endTime;
    }*/

    public Department(String id,String deptName){
        super();
        this.id = id;
        this.deptName = deptName;

    }

    public String getId()
    {
        return id;
    }
        
    public void setId(String id)
    {
        this.id = id;
    }
        
    public String getUserId()
    {
        return userId;
    }
        
    public void setUserId(String userId)
    {
        this.userId = userId;
    }
        
    public String getDeptName()
    {
        return deptName;
    }
        
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }
        
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public List<Job> getChildren() {
		return children;
	}

	public void setChildren(List<Job> children) {
		this.children = children;
	}

	public String getRoomId()
    {
        return roomId;
    }
        
    public void setRoomId(String roomId)
    {
        this.roomId = roomId;
    }
        
    public String getBuildingId()
    {
        return buildingId;
    }
        
    public void setBuildingId(String buildingId)
    {
        this.buildingId = buildingId;
    }

	public String getBuildingName() {
		return buildingName;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

    @Override
    public String toString() {
        return deptName;
    }
}
